Global Compiler Analysis for Optimizing Tuplespace Communication on Distributed Systems

نویسندگان

  • James B. Fenwick
  • Lori L. Pollock
چکیده

The generative communication paradigm of parallel programming ooers not only simplicity, but power and ex-ibility. However, the properties of associative access and uncoupled communication that give rise to this power and exibility also lie at the heart of the compiler and run-time system implementation challenges, especially on distributed memory systems. This paper provides concrete steps towards advanced compile-time analysis and optimization of the uncoupled communication of shared tuplespace. Speciically, we present global analysis techniques for detecting common, yet possibly inef-cient, tuple usage patterns at compile time. As part of an optimizing Linda compiler, we have developed and implemented a data ow framework which statically estimates the count of tuples at run-time for each of the tuplespace partitions. We have also designed algorithms for the identiication of shared variable tuples and a class of synchronization tuples. Our empirical ndings show that over 28% of tuplespace partitions in a suite of real application programs never contain more than one tu-ple. These results indicate that there is plenty of opportunity for compile-time optimization of communication of Linda programs, and a global static analysis of Linda parallel programs can indeed provide this information to the optimizer, and thus programmers do not have to rely strictly on run-time and peephole optimizations for achieving good performance.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Identifying Tuple Usage Patterns in an Optimizing Linda Compiler

The associative tuplespace access and uncoupled communication of Linda parallel programs are the key to the power and exibility of Linda, but also lie at the heart of the compiler and run-time system implementation challenges. This paper provides concrete steps towards advanced compile-time analysis and optimization of the uncoupled communication of Linda programs. In particular, as part of an ...

متن کامل

Data Flow Analysis across Tuplespace Process Boundaries

The increasing attention toward distributed shared memory systems attests to the fact that programmers nd shared memory parallel programming easier than message passing programming, while physically distributed memory multiprocessors and networks of workstations o er the desirable scalability for large applications. A current limitation of compilers for shared memory parallel languages is their...

متن کامل

Tuple Counting Data Flow Analysis and its Use in Communication Optimization

Tuplespace provides parallel programmers with an abstrac tion that hides the speci c underlying architecture allowing the archi tecture to be any number of platforms ranging from shared or distributed memory to a cluster of workstations Unfortunately any abstraction of this kind necessarily introduces a trade o for the application pro grammer between ease of use and control over performance Thi...

متن کامل

Static Optimization of Distributed Tuplespace Message Communications

Distributed memory parallel systems such as work station clusters stubbornly remain in need of software systems that provide programmers with an e ective but uncomplicated means of realizing improved ap plication performance Distributed shared memory systems are maturing to ll this need Tuplespace is a structured distributed shared memory that em bodies the generative communication model This p...

متن کامل

Supporting Software Distributed Shared Memory with an Optimizing Compiler

To execute a shared memory program efficiently, we have to manage memory consistency with low overheads, and have to utilize communication bandwidth of the platform as much as possible. A software distributed shared memory (DSM) can solve these problems via proper support by an optimizing compiler. The optimizing compiler can detect shared write operations, using interprocedural pointsto analys...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996